package com.tmxk.days01.wmh.Test;

public class CalculatorTest {
    public static void main(String[] args) {
        Calculator ca = new Calculator();                //创建实例化对象
        int sum1 = ca.Calculator(4, 7);                //调用方法使两个整数数相加
        double sum2 = ca.Calculator(4.7, 6.25, 5.29);    //调用方法使三个浮点数相加
        System.out.println("4+7=：" + sum1);
        System.out.println("4.7 + 6.25 + 5.29 = " + sum2);
    }
}
